package com.lg.distributed.transaction.message.annotation;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.messaging.handler.annotation.MessageMapping;

import java.lang.annotation.*;

/**
 * 一个 RabbitHandler的委托
 * @author by Mr. Li 2020/12/12 15:07
 */
@Target({ ElementType.METHOD, ElementType.ANNOTATION_TYPE })
@Retention(RetentionPolicy.RUNTIME)
@MessageMapping
@Documented
@RabbitHandler
public @interface LgTranListenerHandler {
}
